package com.jic.data.mapper;
import java.util.List;
import java.math.BigDecimal;
import java.util.Map;

import com.jic.data.model.entity.MemberBaseInfo;
import com.jic.data.model.entity.MemberIsconsumeSts;
public interface MemberIsconsumeStsMapper {
	/**
	 * MEMBER_ISCONSUME_STS插入数据
	 * @param memberIsconsumeSts 入参实体类
	 */
	int insert (MemberIsconsumeSts memberIsconsumeSts);

	/**
	 * MEMBER_ISCONSUME_STS插入数据
	 * @param memberIsconsumeSts 入参实体类
	 */
	int insertSelective (MemberIsconsumeSts memberIsconsumeSts);

	/**
	 * MEMBER_ISCONSUME_STS根据表对象数据修改数据
	 * @param memberIsconsumeSts 入参实体类
	 */
	int updateByPrimaryKey (MemberIsconsumeSts memberIsconsumeSts);

	/**
	 * MEMBER_ISCONSUME_STS根据表对象数据修改数据
	 * @param memberIsconsumeSts 入参实体类
	 */
	int updateByPrimaryKeySelective (MemberIsconsumeSts memberIsconsumeSts);

	/**
	 * MEMBER_ISCONSUME_STS根据id删除数据
	 * @param memberIsconsumeSts 入参实体类
	 */
	int deleteByPrimaryKey (MemberIsconsumeSts memberIsconsumeSts);

	/**
	 * MEMBER_ISCONSUME_STS根据主键查询数据
	 * @param memberIsconsumeSts 入参实体类
	 */
	MemberIsconsumeSts selectByPrimaryKey (MemberIsconsumeSts memberIsconsumeSts);

	/**
	 * MEMBER_ISCONSUME_STS根据主键查询数据
	 * @param memberIsconsumeSts 入参实体类
	 */
	List<MemberIsconsumeSts> listPageBySelective (MemberIsconsumeSts memberIsconsumeSts);

	/**
	 * MEMBER_ISCONSUME_STS查询数据
	 * @param memberIsconsumeSts 入参实体类
	 */
	List<MemberIsconsumeSts>  selectBySelective (MemberIsconsumeSts memberIsconsumeSts);

	/**
	 * 有效和无效会员占比
	 * @param memberBaseInfo 查询入参实体类
	 * @return 实体类列表
	 * @author tzc
	 * @date 2020-5-19 19:45:35
	 */
	Map<String,Integer> getCountOfMemberIsConsume (MemberIsconsumeSts memberBaseInfo);

	}
